package com.lxk.pojo;

import java.io.Serializable;
import java.util.Date;

public class Passinfo implements Serializable {
    private Integer passId;

    private String passNum;

    private Integer machineId;

    private Integer commodityId;

    private Integer stock;

    private Date time;

    private Integer maxStock;

    private Integer line;

    private Integer row;

    private static final long serialVersionUID = 1L;

    public Integer getPassId() {
        return passId;
    }

    public void setPassId(Integer passId) {
        this.passId = passId;
    }

    public String getPassNum() {
        return passNum;
    }

    public void setPassNum(String passNum) {
        this.passNum = passNum == null ? null : passNum.trim();
    }

    public Integer getMachineId() {
        return machineId;
    }

    public void setMachineId(Integer machineId) {
        this.machineId = machineId;
    }

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getMaxStock() {
        return maxStock;
    }

    public void setMaxStock(Integer maxStock) {
        this.maxStock = maxStock;
    }

    public Integer getLine() {
        return line;
    }

    public void setLine(Integer line) {
        this.line = line;
    }

    public Integer getRow() {
        return row;
    }

    public void setRow(Integer row) {
        this.row = row;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", passId=").append(passId);
        sb.append(", passNum=").append(passNum);
        sb.append(", machineId=").append(machineId);
        sb.append(", commodityId=").append(commodityId);
        sb.append(", stock=").append(stock);
        sb.append(", time=").append(time);
        sb.append(", maxStock=").append(maxStock);
        sb.append(", line=").append(line);
        sb.append(", row=").append(row);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}